package com.koron.order.overhaul.mapper;

import com.koron.order.overhaul.bean.entity.OverhaulOrderMajorBean;
import com.koron.order.overhaul.bean.query.OverhaulOrderMajorQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * (OverhaulOrderMajorMapper)表数据库访问层
 *
 * @author twcao
 * @since 2021-09-29 09:49:30
 */
public interface OverhaulOrderMajorMapper {

    OverhaulOrderMajorBean queryById(String id);

    List<OverhaulOrderMajorBean> queryList(OverhaulOrderMajorQuery query);

    int saveOrUpdate(List<OverhaulOrderMajorBean> beans);

    int deleteByOrderId(@Param("orderId") String orderId);

    int hiddenByOrderId(@Param("orderId") String orderId);
}
